package com.th.dao;

import com.th.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author ThreePure
 * @date 20/12/18 16:31
 * @description:TODO
 * @since 1.8
 */
public interface TeacherMapper {

    @Select("select * from teacher where id = #{tid}")
    Teacher getTeacher(@Param("tid") int id);

}
